﻿ 
@using (Html.BeginForm("AddContent", (string)ViewBag.Name))
{
    <h4 class="blue-font not-transform-text">Add links to image or video and comment it</h4>
    <table style="width: auto; position:relative; display:block; margin-left: 0px;">     
        <tbody style="width: auto; position:relative; display:block;">             
        <tr>
            <td>
                <div id="urlDiv">
                    <b>URL: </b><input type="text" id="newUrl" name="newUrl" placeholder="Put the URL here..." class="input-wrapper" />
                    <div class="btn btn-primary" id="btnHideUrl">Remove</div>
                </div>
                <div class="btn btn-primary" id="btnShowUrl">Add Link</div>                        
            </td>
        </tr>     
        <tr style="width: auto; position:relative; display:block;">
            <td style="width: auto; position:relative; display:block;">
                <input type="text" id="newComment" name="newComment" style="width:auto; display:block; position:relative;" rows="4" cols="50" placeholder="Write your comment here..." class="input-wrapper" />
            </td>
        </tr>           
        </tbody>
    </table>
    <button class="btn btn-primary" type="submit">Comment</button>
    <div class="hidden">
        @Html.Hidden("goodId", (int)ViewBag.goodId)
    </div>
}

@section scripts {
    <script type="text/javascript">
        
    </script>
}